﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Csharp第四次作业_类与类的成员_
{
     public class Student
    {
        private int id;                         
        public readonly string name;            
        internal static int age;               
        private const string major = "软件";  
        public void Show()
        {
            Console.WriteLine("学生ID："+ id);
            Console.WriteLine("学生姓名：" + name);
            Console.WriteLine("学生年龄：" + age);
            Console.WriteLine("学生专业：" + major);
        }
    }
}
